﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using OfficeOpenXml.FormulaParsing.Excel.Functions.DateTime;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class ERP_CompleteTOERPDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }

    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class ERP_CompleteTOERPRequestDto
    {
        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PV_SOURCE_SYS_CODE")]
        public string PV_SOURCE_SYS_CODE { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PV_BUSINESS_TYPE_CODE")]
        public string PV_BUSINESS_TYPE_CODE { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PV_SYNCHRO_FLAG")]
        public string PV_SYNCHRO_FLAG { get; set; }

        public List<ERP_CompleteTOERP_DataRequestDto> ROWS { get; set; }

    }

    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class ERP_CompleteTOERP_DataRequestDto
    {
        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ORGANIZATION_CODE")]
        public string ORGANIZATION_CODE { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "WIP_ENTITY_NAME")]
        public string WIP_ENTITY_NAME { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_TYPE")]
        public string TRANSACTION_TYPE { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PRIMARY_ITEM_NUMBER")]
        public string PRIMARY_ITEM_NUMBER { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "RANK")]
        public string RANK { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_DATE")]
        public string TRANSACTION_DATE { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SUBINVENTORY_CODE")]
        public string SUBINVENTORY_CODE { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LOCATOR")]
        public string LOCATOR { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "COMPLETE_ITEM_NUMBER")]
        public string COMPLETE_ITEM_NUMBER { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LOT_NUMBER")]
        public string LOT_NUMBER { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "COMPLETE_QTY")]
        public string COMPLETE_QTY { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LINE_ATTRIBUTE3")]
        public string LINE_ATTRIBUTE3 { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PRIMARY_UOM_CODE")]
        public string PRIMARY_UOM_CODE { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "USER_NAME")]
        public string USER_NAME { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "OVERCOMPLETION")]
        public string OVERCOMPLETION { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SOURCE_NUM")]
        public string SOURCE_NUM { get; set; }


    }

    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class ERP_CompleteTOERPResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "statusCode")]
        public int statusCode { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "timestamp")]
        public string timestamp { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "data")]

        public ERP_PickTOERP_DataResponseDto data { get; set; }
    }

    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class ERP_CompleteTOERP_DataResponseDto
    {
        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "rows")]

        public List<ERP_CompleteTOERP_RowsResponseDto> rows { get; set; }
    }

    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class ERP_CompleteTOERP_RowsResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "intF_STATUS")]
        public string intF_STATUS { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "intF_MESSAGE")]
        public string intF_MESSAGE { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "organizatioN_CODE")]
        public string organizatioN_CODE { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "wiP_ENTITY_NAME")]
        public string wiP_ENTITY_NAME { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "transactioN_TYPE")]
        public string transactioN_TYPE { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "primarY_ITEM_NUMBER")]
        public string primarY_ITEM_NUMBER { get; set; }


        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "rank")]
        public string rank { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "transactioN_DATE")]
        public string transactioN_DATE { get; set; }


        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "subinventorY_CODE")]
        public string subinventorY_CODE { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "locator")]
        public string locator { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "completE_ITEM_NUMBER")]
        public string completE_ITEM_NUMBER { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "completE_QTY")]
        public string completE_QTY { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "loT_NUMBER")]
        public string loT_NUMBER { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "primarY_UOM_CODE")]
        public string primarY_UOM_CODE { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "useR_NAME")]
        public string useR_NAME { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "overcompletion")]
        public string overcompletion { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "sourcE_NUM")]
        public string sourcE_NUM { get; set; }
    }


}
